package service;

import org.activiti.engine.history.HistoricActivityInstance;
import org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity;
import org.activiti.engine.runtime.ProcessInstance;
import po.ErrorCodeApply;
import po.LeaveApply;

import java.util.List;
import java.util.Map;

public interface ErrorCodeService {
	public ProcessInstance startWorkflow(ErrorCodeApply apply, String userid, Map<String, Object> variables);
	public ErrorCodeApply getErrorcode(int id);
}
